/*    */ package com.zimbra.cs.client.soap;
/*    */ 
/*    */ import com.zimbra.common.soap.AdminConstants;
/*    */ import com.zimbra.common.soap.DomUtil;
/*    */ import org.dom4j.DocumentHelper;
/*    */ import org.dom4j.Element;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class LmcDeleteAccountRequest
/*    */   extends LmcSoapRequest
/*    */ {
/*    */   String mAccountId;
/*    */   
/*    */   public LmcDeleteAccountRequest(String accountId)
/*    */   {
/* 30 */     if (accountId == null) {
/* 31 */       throw new IllegalArgumentException("accountId cannot be null");
/*    */     }
/* 33 */     this.mAccountId = accountId;
/*    */   }
/*    */   
/*    */   protected Element getRequestXML() {
/* 37 */     Element request = DocumentHelper.createElement(AdminConstants.DELETE_ACCOUNT_REQUEST);
/* 38 */     DomUtil.add(request, "id", this.mAccountId);
/* 39 */     return request;
/*    */   }
/*    */   
/*    */   protected LmcSoapResponse parseResponseXML(Element responseXML) {
/* 43 */     return new LmcDeleteAccountResponse();
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/client/soap/LmcDeleteAccountRequest.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */